#ifndef WORKERTHREAD_H
#define WORKERTHREAD_H

#include <QThread>
#include <QFile>
#include <QFileInfo>
#include <QList>
#include <QMutex>

extern void setStrOpts(QStringList &plist);
extern int run();


class ThreadWorker : public QObject
{
    Q_OBJECT
public:
    ThreadWorker()
    {
    }
private:

signals:
    void finished();

public slots:
    void doWork()
    {
        run();
        emit finished();
    }
};

#endif
